<?php




require 'database.php';

$base=new Db;


$posts=$_POST['row'];



$____d____=$base->doSql('update hkcms_config set value="'.$posts["title"].'" where name="title" and lang="zh-cn"');

$____d____=$base->doSql('update hkcms_config set value="'.$posts["home_title"].'" where name="home_title" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["keyword"].'" where name="keyword" and lang="zh-cn"');

$____d____=$base->doSql('update hkcms_config set value="'.$posts["description"].'" where name="description" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["icp"].'" where name="icp" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["psrn"].'" where name="psrn" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["cdn"].'" where name="cdn" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["logo"].'" where name="logo" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["favicon"].'" where name="favicon" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["version"].'" where name="version" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["thirdcode_pc"].'" where name="thirdcode_pc" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["thirdcode_mobile"].'" where name="thirdcode_mobile" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["dev"].'" where name="dev" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_on"].'" where name="mail_on" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_type"].'" where name="mail_type" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_server"].'" where name="mail_server" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_port"].'" where name="mail_port" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_from"].'" where name="mail_from" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_fname"].'" where name="mail_fname" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_auth"].'" where name="mail_auth" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_user"].'" where name="mail_user" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mail_password"].'" where name="mail_password" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["file_type"].'" where name="file_type" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["file_size"].'" where name="file_size" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["upload_url"].'" where name="upload_url" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["cdn_url"].'" where name="cdn_url" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["savename"].'" where name="savename" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["chunk"].'" where name="chunk" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["chunk_size"].'" where name="chunk_size" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["content_lang_on"].'" where name="content_lang_on" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["admin_lang_on"].'" where name="admin_lang_on" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["index_lang_on"].'" where name="index_lang_on" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["cloud_username"].'" where name="cloud_username" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["cloud_password"].'" where name="cloud_password" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["admin_theme"].'" where name="admin_theme" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["index_theme"].'" where name="index_theme" and lang="zh-cn"');
// $____d____=$base->doSql('update hkcms_config set value="'.$posts["index_theme"].'" where name="index_theme" and lang="zh-cn"');
// $____d____=$base->doSql('update hkcms_config set value="'.$posts["url_rewrite"].'" where name="url_rewrite" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["mobile_domain"].'" where name="mobile_domain" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["user_on"].'" where name="user_on" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["register_captcha"].'" where name="register_captcha" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["login_captcha"].'" where name="login_captcha" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["login_fail_count"].'" where name="login_fail_count" and lang="zh-cn"');
$____d____=$base->doSql('update hkcms_config set value="'.$posts["group"].'" where name="group"');



